﻿<Window 
    xmlns:local="clr-namespace:Acme.MVVM"  
    x:Class="Acme.MVVM.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Family Event Manager" Icon="/Acme.MVVM;component/EventManager.ico" Height="500" Width="800">
    <Window.DataContext>
        <local:MainWindowViewModel />
    </Window.DataContext>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="225" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <local:HeaderView Grid.ColumnSpan="2" />

        <local:SearchView Grid.Row="1" Margin="6,6,3,6" />
        
        <local:EventEditView Grid.Column="1" Grid.Row="1" Margin="3,6,6,6" />
        
    </Grid>
</Window>
